#ifndef __1635_DRIVER_H__
#define __1635_DRIVER_H__
#include "glh_typedef.h"

#define delay_us GLHDL_DelayUs

#define  SDA     P13

#define  SDA_1   P13=1               
#define  SDA_0   P13=0               

#define  SCK_1   P14=1
#define  SCK_0   P14=0

#define  SDA_IN  P13F = INPUT|PU_EN
#define  SDA_OUT P13F = OUTPUT;

void IIC_Start(void);
void IIC_ASK(void);
void IIC_Stop(void);
void IIC_WriteByte(unsigned char dat);
void GLHTM1651_Init(void);
void SMG_Display(uint8 *dat, uint8 length, uint8 led_brightness);
#endif

